<div id="game-{{ ngModel.gameSize }}">
  <div class="grid-container">
    <div class="grid-cell" ng-repeat="cell in ngModel.grid track by $index"></div>
  </div>

  <div class="tile-container">
    <div tile 
          ng-model='tile'
          ng-repeat='tile in ngModel.tiles track by $id(tile.id || $index)'></div>
  </div>
</div>